package com.mycode.bridging08.resolve;

// BMP 格式图像：扩充抽象类
public class BMPImage extends Image{
    @Override
    public void parseFile(String fileName) {
        // 模拟解析 BMP 文件并获得一个像素矩阵对象 Matrix
        Matrix matrix = new Matrix();
        imp.doPoint(matrix);
        System.out.println(fileName + ",格式为 BMP 。");
    }
}
